scrolled window: Fix scrollbar size allocation
authorMatthias Clasen <mclasen@redhat.com>
Sat, 12 Mar 2016 02:40:02 +0000 (21:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 12 Mar 2016 02:42:33 +0000 (21:42 -0500)
commit5f00a9b4ec52abfa60281df1903430caaff5ac42
treee8d0098cf23457205b567629b5828fb79a6ffcb3
parent07e6eae3e59c9c0eba9fde23492b566b9c474840
scrolled window: Fix scrollbar size allocation

We were not taking the scrollable borders into account when
requesting size for the scrolled window, which could lead
to underallocating the scrollbars at size allocation time
when we *did* take the borders into account.

This is most notable with treeviews, where we have the
headers as borders, and was causing the treeview-crash-too-wide
reftest to fail.
gtk/gtkscrolledwindow.c